// 请从课程简介里下载本代码
import React, { createContext } from 'react'
import './style.css'
import appStore from './store'
import Brother from './pages/Brother'
import Younger from './pages/Younger'
import Uncle from './pages/Uncle' 
import Store from './redux'

// 创建一个context上下文仓库
const Index = () => {
  return (
    <appStore.Provider value={Store}>
      <Brother />
      <Younger />
      <Uncle />
    </appStore.Provider>
  )
}

export default Index
